< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03030108.xhp

(section: cdatefromiso) (bookmark: bm_id3153127)
CdateFromIso function

CdateFromIso 関数

CDateFromIso Function [Runtime]
CDateFromIso 関数 [実行時](hd_id3153127.1)

Returns the internal date number from a string that contains a date in ISO format.
ISO 形式の日付データを示す文字列を基に、該当する内部形式の日付を返します。(par_id3148550.2)

(/section: cdatefromiso)

Syntax:
構文:(hd_id3148947.3)

CDateFromIso(String)
CDateFromIso(String)(par_id3150400.4)

Return value:
戻り値:(hd_id3154367.5)

Internal date number
内部形式の日付(par_id3156212.6)

Parameters:
パラメータ:(hd_id3125864.7)

String: A string that contains a date in ISO format. The year may have two or four digits.
String: ISO 形式の日付データを示す文字列年は2ないし4桁の数値で指定します。(par_id3154685.8)

(embed text/sbasic/shared/00000003.xhp#errorcode : linkinfo)

Error Codes

エラーコード(hd_id3152869.37)

(/embed text/sbasic/shared/00000003.xhp#errorcode)

(embed text/sbasic/shared/00000003.xhp#err5 : linkinfo)

5 Invalid procedure call
5 無効なプロシージャー呼び出しです (par_id3150891.41)

(/embed text/sbasic/shared/00000003.xhp#err5)

Example:
例:(hd_id3150439.9)

dateval = CDateFromIso("20021231")
dateval = CDateFromIso("20021231")(par_id3147318.10)

returns 12/31/2002 in the date format of your system
2002/12/31 に該当する日付を、システムの内部書式に変換して返します。(par_id3146921.11)


< Prev / Next >